package com.ternnetwork.oa.enums.messages;

public enum NoteCategoryMessages {

	FAILED_MESSAGE_NAME_CAN_NOT_BE_DUPLICATE(0,"操作失败,相同层级下名称不能重复!"),
	FAILED_MESSAGE_NAME_CAN_NOT_BE_EMPTY(1,"操作失败,名称不能为空!"),
	FAILED_MESSAGE_CAN_NOT_DELETE_FOR_IT_HAS_CHILDREN(2,"操作失败,请先删除子节点！");

	private  Integer index;

	private  String name;

    private NoteCategoryMessages(int index, String name) {
		this.index = index;
		this.name = name;
	}

    public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

 

}
